<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
</h:head>
<h:body>
	<f:loadBundle basename="props.lenguajes.messages" var="msg" />

	<h:form value="attachments">
		<p:dataTable id="attachementsTable" var="att"
			value="#{generalAttachmentsMB.anexosGenerales}"
			selection="#{generalAttachmentsMB.selectedItem}">
			<p:column
				headerText="#{msg['message.ide.ideaInformation.anexosGenerales']}"
				style="font-size: 10px; font-weight:bold;">
				<h:outputText value="#{att.path}" />
			</p:column>
			<p:column style="width:4%">
				<p:fileUpload mode="advanced" style="font-size: 10px; font-weight:bold;" 
					fileUploadListener="#{generalAttachmentsMB.handleFileUpload}" 
					allowTypes="/(\.|\/)(gif|jpg|jpeg|gif|png|PNG|GIF|JPG|JPEG)$/"
					auto="true" label="#{msg['message.ide.ideaInformation.agregar']}" />
			</p:column>
		</p:dataTable>
	</h:form>
</h:body>
</html>